package com.sys.entity;

import java.util.Date;
import com.bhudy.annotation.PrimaryKey;

/**
 * @Author com.bhudy
 * @Description SysPlugin实体类
 * @Date Tue Nov 05 23:15:20 CST 2019
 */
public class SysPlugin {

    public static final Integer TENCENT_TAS = 1; // 1微信公众号
    public static final Integer TENCENT_APPLET  = 2; // 2微信小程序
    public static final Integer FIRM_WE_CHAT = 3; // 3企业微信
    public static final Integer MAIL_KEY = 4; // 4邮箱

    // ===================key管理==================== //
    public static final String appId = "appId"; // 微信appId
    public static final String appSecret = "appSecret"; // 微信app

    public static final String smtpServer = "smtpServer"; // 邮箱填写SMTP服务器
    public static final String port = "servicePort"; // 邮箱端口号
    public static final String userName = "userName"; // 邮箱此处填写你的账号
    public static final String userPwd = "userPwd"; // 邮箱16位STMP口令



    @PrimaryKey
    private Long id;    //id
    private String name;    //name
    private Integer unique;    //是否启用0启用
    private Integer type;    //1微信公众号，2微信小程序，3企业微信，4邮箱
    private Integer status;    //状态（0正常 1删除 2停用 3冻结）
    private Long createBy;    //创建者
    private Date createDate;    //创建时间
    private Long updateBy;    //更新者
    private Date updateDate;    //更新时间
    private String remark;    //备注信息

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
     }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
     }

    public Integer getUnique() {
        return unique;
    }

    public void setUnique(Integer unique) {
        this.unique = unique;
     }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
     }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
     }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
     }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
     }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
     }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
     }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
     }

}
